package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;
/**
 * 卡数据表
 * @author sun
 *
 */
public class CardData implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 2514210642278797271L;

	/** 卡数据序号 */
    private Integer cardDataId;
    
    /** 卡片序列号 */
    private String cardSeqNo;

    /** 客户编号 */
    private String customerNo;

    /** 卡产品代码 */
    private String cardpCode;

    /** 卡类型代码 */
    private String cardTypecode;

    /** 市民卡号 */
    private String citizenCardNo;

    /** 照片信息ID */
    private String photoId;

    /** 卡有效期 */
    private Date cardValidTime;

    /** 初始化机构代码 */
    private String initOrgCode;

    /** 城市代码 */
    private String cityCode;

    /** 行业代码 */
    private String industryCode;

    /** 接触芯片号 */
    private String chipsNo;

    /** 接触卡内号 */
    private String chipsInno;

    /** 接触卡类型 */
    private String chipsType;

    /** 接触卡PIN */
    private String chipsPin;

    /** 接触版本号 */
    private String chipsVersion;

    /** 非接芯片号 */
    private String chipsLessNo;

    /** 非接卡内号 */
    private String chipsLessInno;

    /** 非接卡类型 */
    private String chipsLessCtpe;

    /** 非接卡PIN */
    private String chipsLessPin;

    /** 非接版本号 */
    private String chipsLessVer;

    /** 非接芯片类型 */
    private String chipsLessType;

    /** 合作银行编号 */
    private String copBankNo;

    /** 银行卡号 */
    private String bcNo;

    /** 银行卡有效期 */
    private Date bcValidTime;

    /** 二磁道信息 */
    private String twoTraInfo;

    /** 三磁道信息 */
    private String threeTraInfo;

    /** 服务密码 */
    private String serverPass;

    /** 条形码 */
    private String barcode;

    /** 接触芯片启用日期 */
    private Date chipsEdate;

    /** 接触芯片启用标志 */
    private String chipsEflag;

    /** 非接触芯片启用日期 */
    private Date chipsLessEd;

    /** 非接触芯片启用标志 */
    private String chipsLessEf;

    /** 测试标志 */
    private String testFlag;

    /** 原卡片序列号 */
    private String oriCardSeqNo;

    /** 原市民卡号 */
    private String chcOriCitizenNo;

    /** 非接芯片有效期 */
    private Date chipsLessDate;

    /** 应用类型标识 */
    private String appTypeEf;

    /** 应用序列号 */
    private String appSerialNo;

    /** 卡版本号 */
    private String versionNo;

    /** 卡消费方 */
    private String cardConsumer;
    
    /** 卡片物理类型  */ 
    private String cardPhysicalType;

    private int flag;

    
    public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public String getCardPhysicalType() {
		return cardPhysicalType;
	}

	public void setCardPhysicalType(String cardPhysicalType) {
		this.cardPhysicalType = cardPhysicalType;
	}

	public Integer getCardDataId() {
        return cardDataId;
    }

    public void setCardDataId(Integer cardDataId) {
        this.cardDataId = cardDataId;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }

    public String getCardpCode() {
        return cardpCode;
    }

    public void setCardpCode(String cardpCode) {
        this.cardpCode = cardpCode == null ? null : cardpCode.trim();
    }

    public String getCardTypecode() {
        return cardTypecode;
    }

    public void setCardTypecode(String cardTypecode) {
        this.cardTypecode = cardTypecode == null ? null : cardTypecode.trim();
    }

    public String getCitizenCardNo() {
        return citizenCardNo;
    }

    public void setCitizenCardNo(String citizenCardNo) {
        this.citizenCardNo = citizenCardNo == null ? null : citizenCardNo.trim();
    }

    public String getPhotoId() {
        return photoId;
    }

    public void setPhotoId(String photoId) {
        this.photoId = photoId == null ? null : photoId.trim();
    }

    public Date getCardValidTime() {
        return cardValidTime;
    }

    public void setCardValidTime(Date cardValidTime) {
        this.cardValidTime = cardValidTime;
    }

    public String getInitOrgCode() {
        return initOrgCode;
    }

    public void setInitOrgCode(String initOrgCode) {
        this.initOrgCode = initOrgCode == null ? null : initOrgCode.trim();
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    public String getIndustryCode() {
        return industryCode;
    }

    public void setIndustryCode(String industryCode) {
        this.industryCode = industryCode == null ? null : industryCode.trim();
    }

    public String getChipsNo() {
        return chipsNo;
    }

    public void setChipsNo(String chipsNo) {
        this.chipsNo = chipsNo == null ? null : chipsNo.trim();
    }

    public String getChipsInno() {
        return chipsInno;
    }

    public void setChipsInno(String chipsInno) {
        this.chipsInno = chipsInno == null ? null : chipsInno.trim();
    }

    public String getChipsType() {
        return chipsType;
    }

    public void setChipsType(String chipsType) {
        this.chipsType = chipsType == null ? null : chipsType.trim();
    }

    public String getChipsPin() {
        return chipsPin;
    }

    public void setChipsPin(String chipsPin) {
        this.chipsPin = chipsPin == null ? null : chipsPin.trim();
    }


    public String getChipsVersion() {
        return chipsVersion;
    }

    public void setChipsVersion(String chipsVersion) {
        this.chipsVersion = chipsVersion == null ? null : chipsVersion.trim();
    }

    public String getChipsLessNo() {
        return chipsLessNo;
    }

    public void setChipsLessNo(String chipsLessNo) {
        this.chipsLessNo = chipsLessNo == null ? null : chipsLessNo.trim();
    }

    public String getChipsLessInno() {
        return chipsLessInno;
    }

    public void setChipsLessInno(String chipsLessInno) {
        this.chipsLessInno = chipsLessInno == null ? null : chipsLessInno.trim();
    }

    public String getChipsLessCtpe() {
        return chipsLessCtpe;
    }

    public void setChipsLessCtpe(String chipsLessCtpe) {
        this.chipsLessCtpe = chipsLessCtpe == null ? null : chipsLessCtpe.trim();
    }

    public String getChipsLessPin() {
        return chipsLessPin;
    }

    public void setChipsLessPin(String chipsLessPin) {
        this.chipsLessPin = chipsLessPin == null ? null : chipsLessPin.trim();
    }

    public String getChipsLessVer() {
        return chipsLessVer;
    }

    public void setChipsLessVer(String chipsLessVer) {
        this.chipsLessVer = chipsLessVer == null ? null : chipsLessVer.trim();
    }

    public String getChipsLessType() {
        return chipsLessType;
    }

    public void setChipsLessType(String chipsLessType) {
        this.chipsLessType = chipsLessType == null ? null : chipsLessType.trim();
    }

    public String getCopBankNo() {
        return copBankNo;
    }

    public void setCopBankNo(String copBankNo) {
        this.copBankNo = copBankNo == null ? null : copBankNo.trim();
    }

    public String getBcNo() {
        return bcNo;
    }

    public void setBcNo(String bcNo) {
        this.bcNo = bcNo == null ? null : bcNo.trim();
    }

    public Date getBcValidTime() {
        return bcValidTime;
    }

    public void setBcValidTime(Date bcValidTime) {
        this.bcValidTime = bcValidTime;
    }

    public String getTwoTraInfo() {
        return twoTraInfo;
    }

    public void setTwoTraInfo(String twoTraInfo) {
        this.twoTraInfo = twoTraInfo == null ? null : twoTraInfo.trim();
    }

    public String getThreeTraInfo() {
        return threeTraInfo;
    }

    public void setThreeTraInfo(String threeTraInfo) {
        this.threeTraInfo = threeTraInfo == null ? null : threeTraInfo.trim();
    }

    public String getServerPass() {
        return serverPass;
    }

    public void setServerPass(String serverPass) {
        this.serverPass = serverPass == null ? null : serverPass.trim();
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode == null ? null : barcode.trim();
    }

    public Date getChipsEdate() {
        return chipsEdate;
    }

    public void setChipsEdate(Date chipsEdate) {
        this.chipsEdate = chipsEdate;
    }

    public String getChipsEflag() {
        return chipsEflag;
    }

    public void setChipsEflag(String chipsEflag) {
        this.chipsEflag = chipsEflag == null ? null : chipsEflag.trim();
    }

    public Date getChipsLessEd() {
        return chipsLessEd;
    }

    public void setChipsLessEd(Date chipsLessEd) {
        this.chipsLessEd = chipsLessEd;
    }

    public String getChipsLessEf() {
        return chipsLessEf;
    }

    public void setChipsLessEf(String chipsLessEf) {
        this.chipsLessEf = chipsLessEf == null ? null : chipsLessEf.trim();
    }

    public String getTestFlag() {
        return testFlag;
    }

    public void setTestFlag(String testFlag) {
        this.testFlag = testFlag == null ? null : testFlag.trim();
    }

    public String getOriCardSeqNo() {
        return oriCardSeqNo;
    }

    public void setOriCardSeqNo(String oriCardSeqNo) {
        this.oriCardSeqNo = oriCardSeqNo == null ? null : oriCardSeqNo.trim();
    }

    public String getChcOriCitizenNo() {
        return chcOriCitizenNo;
    }

    public void setChcOriCitizenNo(String chcOriCitizenNo) {
        this.chcOriCitizenNo = chcOriCitizenNo == null ? null : chcOriCitizenNo.trim();
    }

    public Date getChipsLessDate() {
        return chipsLessDate;
    }

    public void setChipsLessDate(Date chipsLessDate) {
        this.chipsLessDate = chipsLessDate;
    }

    public String getAppTypeEf() {
        return appTypeEf;
    }

    public void setAppTypeEf(String appTypeEf) {
        this.appTypeEf = appTypeEf == null ? null : appTypeEf.trim();
    }

    public String getAppSerialNo() {
        return appSerialNo;
    }

    public void setAppSerialNo(String appSerialNo) {
        this.appSerialNo = appSerialNo == null ? null : appSerialNo.trim();
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo == null ? null : versionNo.trim();
    }

    public String getCardConsumer() {
        return cardConsumer;
    }

    public void setCardConsumer(String cardConsumer) {
        this.cardConsumer = cardConsumer == null ? null : cardConsumer.trim();
    }

    public String getCardSeqNo() {
		return cardSeqNo;
	}

	public void setCardSeqNo(String cardSeqNo) {
		this.cardSeqNo = cardSeqNo;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cardDataId=").append(cardDataId);
        sb.append(", customerNo=").append(customerNo);
        sb.append(", cardpCode=").append(cardpCode);
        sb.append(", cardTypecode=").append(cardTypecode);
        sb.append(", citizenCardNo=").append(citizenCardNo);
        sb.append(", photoId=").append(photoId);
        sb.append(", cardValidTime=").append(cardValidTime);
        sb.append(", initOrgCode=").append(initOrgCode);
        sb.append(", cityCode=").append(cityCode);
        sb.append(", industryCode=").append(industryCode);
        sb.append(", chipsNo=").append(chipsNo);
        sb.append(", chipsInno=").append(chipsInno);
        sb.append(", chipsType=").append(chipsType);
        sb.append(", chipsPin=").append(chipsPin);
        sb.append(", chipsVersion=").append(chipsVersion);
        sb.append(", chipsLessNo=").append(chipsLessNo);
        sb.append(", chipsLessInno=").append(chipsLessInno);
        sb.append(", chipsLessCtpe=").append(chipsLessCtpe);
        sb.append(", chipsLessPin=").append(chipsLessPin);
        sb.append(", chipsLessVer=").append(chipsLessVer);
        sb.append(", chipsLessType=").append(chipsLessType);
        sb.append(", copBankNo=").append(copBankNo);
        sb.append(", bcNo=").append(bcNo);
        sb.append(", bcValidTime=").append(bcValidTime);
        sb.append(", twoTraInfo=").append(twoTraInfo);
        sb.append(", threeTraInfo=").append(threeTraInfo);
        sb.append(", serverPass=").append(serverPass);
        sb.append(", barcode=").append(barcode);
        sb.append(", chipsEdate=").append(chipsEdate);
        sb.append(", chipsEflag=").append(chipsEflag);
        sb.append(", chipsLessEd=").append(chipsLessEd);
        sb.append(", chipsLessEf=").append(chipsLessEf);
        sb.append(", testFlag=").append(testFlag);
        sb.append(", oriCardSeqNo=").append(oriCardSeqNo);
        sb.append(", chcOriCitizenNo=").append(chcOriCitizenNo);
        sb.append(", chipsLessDate=").append(chipsLessDate);
        sb.append(", appTypeEf=").append(appTypeEf);
        sb.append(", appSerialNo=").append(appSerialNo);
        sb.append(", versionNo=").append(versionNo);
        sb.append(", cardConsumer=").append(cardConsumer);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}